import 'dart:async';

import 'package:sonora/shared/lib/exception/base/sj_app_exception.dart';

class SjAppExceptionWrapper {
  SjAppExceptionWrapper({
    required this.appException,
    this.exceptionCompleter,
    this.doOnRetry,
    this.overrideMessage
  });

  final SjAppException appException;
  final Completer<void>? exceptionCompleter;
  final Future<void> Function()? doOnRetry;
  final String? overrideMessage;
}